projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e1ffb1
)
Add reference to env vars introduced in PR #2523 to the docs
author
smaximov
<s.b.maximov@gmail.com>
Tue, 12 Apr 2016 10:32:11 +0000
(20:32 +1000)
committer
smaximov
<s.b.maximov@gmail.com>
Tue, 12 Apr 2016 10:32:11 +0000
(20:32 +1000)
src/doc/environment-variables.md
patch
|
blob
|
history
diff --git
a/src/doc/environment-variables.md
b/src/doc/environment-variables.md
index 1f23ce68ecaef58e5fde7ecde54bdddbbd53a023..4db72d9d2ed859034c50e5f3da131bd099db7857 100644
(file)
--- a/
src/doc/environment-variables.md
+++ b/
src/doc/environment-variables.md
@@
-46,6
+46,9
@@
let version = env!("CARGO_PKG_VERSION");
* `CARGO_PKG_VERSION_PATCH` - The patch version of your package.
* `CARGO_PKG_VERSION_PRE` - The pre-release version of your package.
* `CARGO_PKG_AUTHORS` - Colon seperated list of authors from the manifest of your package.
+* `CARGO_PKG_NAME` - The name of your package.
+* `CARGO_PKG_DESCRIPTION` - The description of your package.
+* `CARGO_PKG_HOMEPAGE` - The home page of your package.
# Environment variables Cargo sets for build scripts